﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.Category.Model
{
    public class CategorySet
    {
        /// <summary>
        /// 类目名 
        ///</summary>
        [NullValidate("shop.category.name.null")]
        [LenValidate("shop.category.name.len", 2, 50)]
        public string CategoryName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }
    }
}
